package com.bt.lms.ui.action.enp;

import com.bt.lms.ui.page.common.action.pageenp.EnpLabAction;
import com.bt.lms.ui.page.enp.EditEnrollmentPlan;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 招生计划数据一编辑按钮事件
 */
public class EditEnrollmentPlanAction implements EventHandler {
    @Override
    public void handle(Event event) {
        EditEnrollmentPlan editEnrollmentPlan = new EditEnrollmentPlan();

        Pane pane = EnpLabAction.pageSkipInfo.getPane();
        Integer index = EnpLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index, editEnrollmentPlan);


    }
}
